package app.skeleton;

import app.model.CategoriesEnum;

import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;

public class DisplayCategories extends VerticalLayout{

	public DisplayCategories(){
		setSpacing(true);
		for(CategoriesEnum categoriesEnum : CategoriesEnum.values()){
			addComponent(new Label(categoriesEnum.getCategorie()));
		}
		
	}
}
